Set up npm test goal to build and karma test
Added test asset building and edited karma config