More unit tests for commands