add tests for custom cookie store serializer