Add test coverage for double braces in sanitisation