Fix testing.php bug