Add unit tests on public pages visibility