reverting chai-as-promised changes