PRM with dynamic destructor + Some testing

A single destructor is insufficient