Tests for Promise.