fix jasmine test, renamed .resolve() to .reverse()