more work to get cookie tests running smoothly