Removed unrelated changes to the contains method, reverted the exception handle
Removed the setUpClass method to support py26
Using the same handling for the case in which the doc is a mapping or an object that support __getitem__(but not a sequence), Updated the tests
Removed redundent assertion(part of it)