Api test refactoring