cont::take and cont::drop and tests