Added some test cases to Http.