tests: change method signature in resque mock