The 'Service Registry instance can be used' test expects the aliasRegistry created in the setup() to be what is required in the test.
This won't work and it needs to use the TestDefinitionRegistry as we did for the LocalisedDateTest.js class
Changing all references in EventHub tests to not require the eventhub via a Service
This won't work because NodeJS classes referencing aliases do not get the dependency classes loaded
This worked previously because of a bug where aliasDefinitions.xml was scanned by XmlAssetPlugin and all referenced classes were bundled, these tests worked relied on that incorrect behaviour.
Adding a TODO to change these back once we fix #354
Changing AliasRegistry tests to use a more familar test file format.
Added tearDown() to uninstall the definitionRegistry as highlighted by @dchambers
Merge pull request #396 from BladeRunnerJS/fixing-js-tests

Fixing js tests