pages index is home page and root_url
add tests for edit and update posts