Tests for DoctrineManager.