test for editing pages