Browserified the tests and changed the code generation. Update to how Karma locates it's tests