expanded test of the AJAX onreadystatechange callback