tests for datafetch module