fix phpunit test for escape function
Update finish.php