Fix tests that failed when page size changed
Read configuration from config file
Read MaxDocuments from config file. Fixes #443