basic validation test

what a jerk, I didn't even write any tests for validation earlier... shame on me.