Wrote ScorePackageManager.add_metadatum() test.