integration tests for max length validator