optimize Doctrine tests suite