Fixed uniqueness db validation test