ensure validation works