test($http): test that timed out $http request rejects promise

Closes #7688
Closes #7686