adding test plan and modified main.c