Better test, fixed a doc typo