begin Karma unit testing