fix read only db write errors in lettuce testing