Add tests for ResqueStatus class

Some refactoring in various class