adding tests for PR #54, improve async tests using ypromise
making jshint happy, I guess we will not be able to fully use the nice syntax new Promise().catch() feature after all