Added comments to makefile.
Added and reorganized unit tests.