Added tests for mysql.