Fix BROKENNESS percentage and pD output test