add Makefile, set mode +x for tests