[4.2] Tests : assertTrue, assertFalse && assertNotFalse

Use the proper assertion

This PR comes with other PR: #5333 #5334 #5336 #5337 
They are split for review and readability purpose.
@taylorotwell , let me know if you prefer a global PR with all the changes instead of separate PR