added test framework and Makefile