Moved get document text logic into DocumentAdapter class. Add table private field to adapters, it makes easy switch to test tables while testing.