Fix broken managed CapeDwarf tests.