updated base test to correctly stub Doctrine interfaces