Added generic expect snippet.