fixing the Makefile for tests