Adding tests for new cookie methods and fixing a typo in a random test's name