Integrated sinon for testing XMLHttpRequest instead of my own mock, 4 tests remain failing