Add test of addRemoteUrl method