add support for karma test runner (testacular)