add unit tests for AbstractService, add getRtm() method Client