Updated jasmine tests