[DDC-3343] Failing test case

Here's a failing test case for the issue I filed a few days ago: http://www.doctrine-project.org/jira/browse/DDC-3343

Notifying @Ocramius.
use `assertInstanceOf` here