small fix in ApiControllerTest