tests-Makefile: Make the test addition conditional