add unit/integrted tests for dpc

I defined the scale to be a bool variable. It's meaningful to supply True if you want to scale, False if not. I think it's not straightforward to supply other true-ish values (like 'apple') if you want to scale.