Fix EntityControllerTest