Setup a promise test with fetch