Test promises.