To start Registry should be as simple as:
registry = RegistryBuilder.buildAndStartupRegistry(TapestryModule.class);
(or specify an AppModule.class as well)
but that fails because tapestry.alias-mode is not defined.
Tapestry should provide a default for tapestry.alias-mode so that it isn't necessary to create an extra module, such as:
public class TestingModule
public static void contributeFactoryDefaults(MappedConfiguration<String, String> configuration)
(of course, it's a question about if alias mode is even needed, once T5 finally gets portlet support; it's a hold-over from T4).