Changes some rules in karma test runner