add test for validate_each behavior