rio-env command and tests.