test(xhr-deferred): add test