Fixed up cookie methods and added tests. No really, I did :)