Added user validation tests