Add test for Libs.private deduplication (issue #51).