tests: cli wrapper should return string