python test for mysql many insert