more test cases in index.php. changes in form.php