Fixed some issues with the rest tester