changed the test_search file to work with py25 and py26