List command class unit test.
Moved console output.