Fix tests in tarball #543