Refactor descriptor resolve create test into generic suite.