Adjust test packaging for outDirectory.