Made validation failure tests deterministic