remove deprecated class from testing

removed deprecated classes as described in: symfony-cmf/symfony-cmf#191

But got an strange error in my local test, hope it just a local version problem.