moved combined test to use new read_document function