moved unit-test control to mid-level Makefile