Tests for ManagerRegistry.