member validation and tests