add makefile for generating cookies and running the tests