remove old echo statement from tests
use Repository::filterPackages for more efficient memory use