Add tests for get_all_entries