Fix rmr_rpobe command line bug; add test coverage