testing referrals