make test only packages optional