Compatibility fixes for unit tests. PHPUnit will save global state with serialize/unserialize, but PDO connections can't be serialized, so they should be discarded.  The unit test setUp() method will handle the db reconnect for us.
Merge pull request #7 from markoheijnen/kurtpayne

Compatibility fixes for unit tests. PHPUnit will save global state with serialize/unserialize, but PDO connections can't be serialized, so they should be discarded. The unit test setUp() method will handle the db reconnect for us.