adapt for new TestRepo