'fixed' failing jasmine test