Got rid of self.assertIn

I noticed from the Travis builds that this is not compatible with
Python 2.6 so I switched back to the alternative way of making these
assertions.