convert basic_command_line test to decoupled r_t framework