re: cmd: added some expansion tests.