added testing and makefile