EditPageTest: Rewrite testCreatePage() to use a data provider

Change-Id: I415f9fdbca6a625d8d1e9ff4c05c861a96dfa290