Add missing TestCase methods to enable running tests under Python 2.6.