Updated Makefile and added runtests script.