Mysql and mongodb tests fixed