Doctrine test