Fix event leakage between tests (bug 1071552)
Fix flakey refresh tests
Merge pull request #133 from muffinresearch/fix-event-leakage-1071552

Fix event leakage between tests (bug 1071552)