PDOException should have a property "errorInfo"

Added two tests, one to verify the property exists, another one to
verify that the extra error info is actually set.