mysql_query_generator tests