added some tests for entries page. Fixed entry content deletion.