test to make sure trapping xhr errors correctly
fix bugs in poller changes
add Poller tests and more helper tests