Deleted some test files and caught out-of-range for page->text()