Add test for EntityView::getHtmlForEditSection

Change-Id: I99f15738a90a02c9fe3431c7bbb38645c87b1460