fixed various doc files and tests that were broken