cookie test working