add Makefile and a small test