This PR fixes some typos and polishes trivial stuff.

Comment From: sbrannen

Thanks for catching these.

I am to blame for the use of System.err in those tests, so I'm glad to see those gone. 😉