[PATCH v4 3/4] riched20/tests: Ensure clipboard has been pasted before testing the result.