Additional unit tests for MatchingPolicy and malformed input.