Attempt to implement Jasmine tests.