update Makefile. fix test spec