Adding a unit test
Merge pull request #8 from nightscout/wip/cookie

Adding a unit test