fix main.c file
update test file
fix parser