cocoon testing