added makefile and test