Add tests for matching against array length fields