Split test for getUrl from test for getOptions