Fix APi tests
Decouple Service from ResqueStat class