testing for user completion and validity