Replace assertTrue and assertFalse with more suitable asserts

The following replacements were done to have
clearer messages in case of tests failure:
- assertTrue(* in *) with assertIn
- assertFalse(* in *) with assertNotIn

Change-Id: I7cc2ed4365895c430220798de14dc6c5d599e7bd
Merge "Replace assertTrue and assertFalse with more suitable asserts"