added tests for passing url in options