Fix unit tests using Symfony Validator >=2.2.0