the missing check for the class in DoctrineBridge is also the reason for the test errors with symfony 2.2