add test for fetch()