DDC-2268 - Regression test

http://www.doctrine-project.org/jira/browse/DDC-2268

Not sure when, but it is already fixed in master.