Adding units=True tests to testPixelSizeUnits()
Rename param withUnits -> units