Update document for entry_by{name|path}
Add and update test for entry_by{name|path}