adds unit tests for EditPageViewController