add pdmat to run_tests