Respond to PR comments and move dictionary comparison method to pulp.devel.unit.util module