remove unused var in gen_test.php