xhr: Style changes to tests for xhr.js