Fixed a duration coupling issue in makeTestForDemandOverLinkedPair().