Fix refresh tests (sinon loading race condition)
Merge pull request #134 from muffinresearch/fix-refresh-tests-3rd-time-lucky

Fix refresh tests (sinon loading race condition)