unit test for REST runner fixed