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

Done (see above).