Added assertIn to make Python 2.6 happy (unittest lacks this method).