Adding test for the usage of a command

- use buffer to trap the output to SDTOUT,
  so we can see if the expected strings are there.