Split and assert CLI output better