Passes Jasmine tests