Add checks for NULL database, user, password
Improve DSN tests