finished the jasmine tests