a pair of simple cookie tests