Add simple test for Command.toString