Add a test passing mixed values to `allow_value`

As pointed out by in #197, we did not have test coverage for a mix of good and bad values together.