Added and initially revised unit/integrted tests for dpc
Modified code according to comments
Fixed the codes according to comments on dpc_runner
Optimized _rss(); some minor modifications
Changed file modes and line endings
full cover of dpc test
remove mask