Fixing Jasmine tests. Adding the rest of Jasmine tests.