Add read/write entries to database and tests.