Add test cases to demonstrate the memory leak on the COLLATE clause.