updating test according to new changes regarding Symfony 2.3

enhance test readability