added tests for resoling urls