working tests for xhr @coryvirok