added test for uploadLink functionality