The tests are imported from https://github.com/domenic/promises-unwrapping/tree/master/reference-implementation/test (which seems to be the canonical source of tests for the spec), and @domenic used `assert`.  I didn't want to rewrite everything (at least without a more compelling reason), since that will make it harder to track changes he makes upstream.