Trying to fix the problems with the Jasmine tests.