Use suitable assert

Replace assertTrue(a in b) with assertIn(a, b)
Replace assertFalse(a in b) with assertNotIn(a, b)
Replace assertTrue(a is None) with assertIsNone(a)

Change-Id: I981c81908a823d9dbecbb2e139a86fbf589ce55e