Fix EntityViewTest that depended on settings

Change-Id: I4d48a4546d2486e2143d1d012f5159954218095b