Fixed failing test of entity_detail_view