edit page unittest