add test for public page
add tests for public page