Add a test for collection of dead deps entries.