set up karma test