updated test for copyUrlCtrl