i do not quite understand this computation .. the associated test also fails.

shouldn't it just be ``$t = (int) ceil($this->thresholdCount / $this->getMaxPerPage());`` ?