added a test for empty databases in display_entries

What the title says. This can be seen as the same what the test ``test_display_entries_missing_entries`` checks, but makes it more explicit what happens with empty databases.