Add smoketest for MySQL and PostgreSQL