doc: fix doc for correct usage with plan & TextContext
The following section in the doc describes a test that uses the plan feature in the test-runner. However, the test in this example fails.
The fix use the t.assert
(Textcontext) ,
and also reduce the plan number to 1, since we have 1 assertion.