fixing jasmine tests