make doc tests pass