Mocking fetching function and sets up data mock from loader functions
Co-authored-by: @espeiv Co-authored-by: @ottohf