fixed bug
added makefile
added makefile test directive