Add a test for pm-releasenotes (Ref: #882).