add an example to the writing-tests documentation