Jasmine tests

Added two more tests.