rewrite index_page spec to make it simple