modified template structure for RestApiServiceTest