Cookies

@s-panferov I think this handles everything.

cc @reem 
Would be a lot faster to write the first one, the iterate over a slice of the test of the values.