Add Go test for overriding URL