sequencer: add tests for sequencer issue

add tests for promises-aplus/issue #61
reformat tests (4 spaces)
factor out newPromise function (calls OrdinaryConstruct for us)