added tests, use url-join