removing when from promise listening test