Added tests for fetch