Fixed PDOException in simpletest.