Modifications to referral tests to ensure they pass given the current understanding of the workflow