Fix minor typos and pare down some noisy function tests in the docs.