Add a new test method snippet