Fix typo in test spec and docs

Review 1620 by @larkost