Split generated files and run core unit tests using karma