adapt to new TestRepo