added makefile to run tests automatically