add test for external_referer support