Adds cookie spec tests