Add a test snippet.