Finish unit tests, add makefile, fix coverage report