Added test targets to Makefiles.