Added a test for readyState 0.
Made the XHR test more comforming to the assert API.