fixing jasmine and groovy tests