add tests for promise.else