set up karma testing structure