[fix] Allowed single argument in assert_valid and refute_valid