Better testing rules in Makefile.