Refactored the search command to allow easier tests.
Added initial code for the search command tests.
Added initial code for the search command tests.
Add missing assertions.
Added missing tests for the execute method.
Add tests for the command parsing.
Merge pull request #46 from mandel-macaque/add-command-tests

Add command tests to increase the cli coverage.