working dcor scaling with tests