Another attempt to get Jasmine tests to pass.