What is the 'witch cake'?

Its a cake made by someone that is given to the witch and the witch must eat it. If she chokes she is innocent, if she eats it without choking then she is a witch.