dox fixes and made document failure trigger test failure