url: restore location in tests