clear pending deferreds when calling them back
test for not-emptying list of deferreds