Solution:
remove unnecessary white space or line break that will remove the error also remove last
?>
Try bellow code
<?php
/*
Plugin Name: TEST Plugin
Description: test desc
Author: test
Author URI: test
Plugin URI: test
*/
ob_start();
echo 'test';
ob_clean();