Add tests for `fetch` method