harden the ReferrerTest