Make assert_true and assert_false less dangerous.

@wting also