find unread db implementation + tests