User record validation tests