Fixed a bug in assert_true and assert_false functions