adding jasmine testing for cookies