Add tests for CLI version commands