Add metadataShare test with URL params
request module calls are now in own function