testing passing hasOcr to the controller