Revised for Promises/A+ Specification v1.1 and Test Suite v2.0 compliance.