Develop testing for `PoolPrev()` and `HierPoolPrev()`, including checking input data structure and format.