fix test on python 2.6 (no assertNotIn)