Fixed tests
Fixed typos in docs (thanks Marcia)