try to make tests not fail with symfony 2.2 anymore