Add tests for incorrect error messages of association length validations