change weak deps checking according to new TestRepo