Adding one user-defined snippet for a test.