tests: add more tests of cookies example