Add `fromEnumerator` test.