add some validation tests for user