Merge "Misc fixes in package-release, run-tests-all, and add a test"