mocking product api on tests