Add unit tests for low-level PDO setup and functionality.