Fix some "make doc" warnings and update some doc tests