Fix testing with Jasmine.