KarmaTesting not working properly