so for you the tests pass?

```
var_dump($this->thresholdCount, $this->getMaxPerPage(), $this->getPage());
            $t = (int) ceil($this->thresholdCount / $this->getMaxPerPage()) + $this->getPage() - 1;
```

gives me

```
int(13)
int(10)
int(2)
```

which in turn results in 3