fixes doctrine/common#326

fixes doctrine/common#326
Can you move these assertions into a new test method?