changed jasmine rules for testing