fix unit tests to be compatible with doctrine/dbal >= 2.4.0