PDO mocking support revisited