Added test for #5: Blank referrers and agents