Add failing test for DDC-2785

Add a failing test for

http://www.doctrine-project.org/jira/browse/DDC-2785
@flack ``uniqid`` has much less entropy on Windows than on Linux. I already got tests failing randomly in some other libraries because uniqid was sometimes returning the same value twice rather than 2 different values.