don't fail on MB dists with no tests
Replace '' with q{}
Tidy all code