integrate karma tests into the build process