updated assertTrue with assertIsNotNone