Refactoring functional test in DataTypeListPageSpec