Add test for subclass example

Make ArrayPromise#each chainable to allow for later error listening