Prepare some testing utilities for repeating functions and promises.
Use the utilities to test the creation promises.