fixed cleanup issue in Makefile test