Using assertTrue and the 'in' operator to test
if an element is in a sequence is too python2.4.
Our unit testing framework supports assertIn
which was created for these types of tests.
Fixes bug #1230028
Change-Id: I8a9147fa9982644067ff45c73e116d88845e47e3