Fixed issue in TM_REST that was affecting the unit tests