Add a test about secret post
Extract method to create a snippet