added test for promise request to test request failure