Test for #350, update with limit mysql