Add test helper.
Refactor gather test to use helper.
Document extract process.