Add a test passing mixed values to `allow_value`