Regression Test

tests for doctrine/common#326