add makefile and document how to run tests