Adding CLI.executeCommand implementation and test