setup tests and makefile