Add extraction sanity checking
Merge pull request #49 from praekelt/extraction-sanity-checking

Optional extraction sanity checking