UT fixes for BC in symfony components 2.6.*