Fix tests with Symfony Validator 2.1.*