restarted with tests from sinon.js fakexmlhttprequest