added winning and losing jasmine tests