Added necessary templates for RestApiServiceTest.