Update sample content
Prevent unnecessary exception
Require libs
Add test for entry