Add more UPSERT test for sql command