[ADD] Split database read and modify unit tests.