Extract MockPdo to a separate file