run karma test on build