constraints object added for lastName, tests added to verify