fix symfony validator and tests