fixed a test and the Makefile