Update promise implementation for promises-aplus-tests 2.0.