Fixes deprecated test failure and removes print statement in DpMS