If the DWV system is being put under an AIR or WATER testing then i would go with the sch. 40 pressure rated instead of the foamcore. I have have had trouble with foamcore under the testing. If you do go with the foamcore, use a chop saw and make good cuts. be sure to prime and glue heavy.