Add test for cargo --list.