Wrote ScorePackageWrangler.rewrite_metadata_modules() tests.