Fixing Jasmine coverage problems.