tests on xmlhttp