Fix remove snippet test