cfgfilter: use some testtools helpers

We can use assertIsNone(), assertIn() and assertNotIn() in place of
assertTrue().

Change-Id: If7147629ba2dfc1f381d94482029c793f020f37f
Merge "cfgfilter: use some testtools helpers"