fix page unit tests