added test for _get_entry method