test save char data into db