add small unit test of EntriesController