Adds unit test for CommandDo