DBAL-807 [DBAL-807] - Added failing test reproduces a problem.

Added failing test reproduces problem, decribed in ticket http://www.doctrine-project.org/jira/browse/DBAL-807