make test and fulltest targets in the main Makefile; fixes #4297