User assertTrue instead of deprecated assert_