Implement Jasmine tests