updating test according to new changes regarding Symfony 2.3