Added Makefile and test to achieve full coverage