Add tests for both SQLite3 and PostgreSQL.