[evgeny, luis] fixed xmlhttprequest mock