Tests for error handling.
Tests for onreadystatechange.