Testing for cookies attributes