Add tests for modules using MySQL/PostgreSQL