added initial unit tests

I added a unit test template, test.c, and the initial unit tests for parse_cmdline()