edit test.php as class