adding dmp test code