First version with MySQL tests