Tests for UniqueEmailValidator and fix for issue test revealed