minProperties and maxProperties tests