Added tests for visible-pages