Use suitable assert

Replace assertTrue(a is None) with assertIsNone(a)

Change-Id: I1877e7615b45336e644c6e005349432bc71a4b79
Merge "Use suitable assert"