Improved test case for entryDAO by using EntryDAOProvider correctly