Add test cases for entryModel in the issue #2