when rebuilding, build all packages with tests depending on the changed one
only build testpackages with dependencies