Add unit tests for the show command

Add unit tests for the methods of the ShowCommands class that it has
been committed without tests.

Change-Id: I94e3f4bc8c166a612c653065c6f032eb5d71a231
Merge "Add unit tests for the show command"