Added test to try to reproduce DBAL-864