another small fix in ApiControllerTest