Add first test case for 'validateAndExtract'
Start implementing 'validateAndExtract' by starting to implement 'validateAndExtractSeg'