more tests for doc extraction
prep work for #46
add common