Ensure toPyReprString is tested