CDEC-35: added tests of '--remote' option