tests: add unit testing.

Add a unit test program. This should be used to test individual
functions within edgar to ensure proper functionality. Feel
free to add tests to this file.