TST: add some basic tests for the FetchAPI class.
TST: test fetch api when using encore progress bar.