Added rest object conversion tests