Updated cookieTest and added delete functionality.