Added partial set validation; added tests