Add targets test-* and build-* for each product-* target, only re-run tests on change

Indeed (see, I touch code without side-effects ;) ).
Done.