As the Senate prepares to take a test vote Monday evening on a border security deal to a major immigration bill, a review of the 1,190 page amendment shows the exact details of extra border enforcement as well as a few extra items added in which didn't get too much attention in headlines about the agreement.

The Senate will vote Monday evening on a motion to shut off debate on the new plan, referred to as "Hoeven-Corker" for Sen. John Hoeven (R-ND) and Sen. Bob Corker (R-TN), the two GOP Senators who negotiated the agreement with the bipartisan "Gang of 8."

Most of the headlines about the deal have focused on 20,000 extra border patrol agents, 700 miles of fencing, high tech tools to stop illegal immigration, a new entry/exit visa system and the mandated use of "E-Verify" by businesses to stop the hiring of illegal workers.

But as with every Congressional compromise, there are other items that get slipped into a plan like this, which in this case, seemingly have little to do with border security.

One that had opponents of immigration reform hopping over the weekend was a provision that makes permanent the authorization for the Corporation for Travel Promotion, which spends money to promote travel to the United States.

Critics have been after the Travel Promotion Act of 2009 since its inception, arguing it was nothing more than an effort by Senate Majority Leader Harry Reid to funnel government help to the Las Vegas casino and tourist industry.

This plan authorizes money for travel promotion for "each fiscal year after 2012," instead of having that authorization end.

Sen. David Vitter (R-LA) labeled it the "Casino Kickback."

Another item added in that doesn't directly impact border security was a $1.5 billion, two year plan for the Department of Labor that would help states find jobs for 16-24 year old Americans, as Sen. Bernie Sanders (I-VT) argued the immigration bill could end up bringing in more foreign workers who will take jobs away from U.S. citizens.

"At a time when real unemployment is close to 14 percent and even higher among young people and minorities, it is absolutely imperative that we create millions of decent-paying jobs in our country," Sanders said.

The money for the plan would come from a temporary $10 fee on businesses that hire guest workers, and on immigrants who get green cards.

Another new add to the immigration bill is something called, the "American Jobs in American Forests Act of 2013," a bill introduced by two Oregon Democrats, which deals with the hiring of nonimmigrants to work in U.S. forestry jobs.

The border security amendment also added in a tribute to a Senator who recently died, as now the provisions on asylum and refugees has been named the, "Frank R. Lautenberg Asylum and Refugee Reform Act" for the New Jersey Democrat who died a few weeks ago.

Also tucked into the bill were several new references to help seafood processers in the state of Alaska, allowing companies to hire foreign students visiting the U.S., and also declaring that there is a shortage of workers for those jobs, allowing the industry to use the new "W" visa program in the bill to recruit such workers.

On the issue of border security, a new plan was added dealing with "Oversight of Power to Enter Private Land and Stop Vehicles Without a Warrant at the Northern Border."

That plan, from Sen. Patrick Leahy (D-VT) and Sen. Patty Murray (D-WA), would limit where federal agents can stop vehicles as they drive from Canada to the United States.

"The wide latitude in current law for setting up checkpoints far from our borders has led to maximum hassles of law-abiding local residents, with minimal value to border enforcement," Leahy said in a statement issued soon after the border security deal was filed in the Senate.

Leahy also included another provision dealing with travel visas for the performing arts, which he complained have too often faced bottlenecks in recent years.

Other changes included a plan by Sen. Orrin Hatch (R-UT) that prevents people in the U.S. illegally from claiming any Social Security benefits earned before becoming a citizen.

Hatch also won language in the new amendment that "prevents any cash welfare payments" from going to non-citizens.

The bill also sets out - in detail - what extra efforts would be undertaken in different sectors along the Mexican border to deal with illegal immigration:

Other miscellaneous items that I found added in the Hoeven-Corker border security amendment include:

+ A limit on the "maximum allowable costs of salaries of contractor employees (Section 1123) - it notes the current maximum is $230,700

+ "Automatic citizenship" for certain adopted international individuals (Section 2554)

+ Recruitment incentives for former military servicembers as new border patrol agents will include increased amounts in student loan repayments (Section 1102 - just after the Corporation for Travel Promotion provisions)

+ A provision to ensure "compliance with restrictions on welfare and public benefits for aliens" (Section 2323)

+ 180 days after this bill becomes law, the feds would be required to start removing from the U.S. those who have overstayed their visas; the plan would also start a "Visa Overstay Notification Pilot Program" - basically a reminder to foreign nationals that your visa time is up, and that it's time to go home

+ There are 28 instances were spending is authorized by the bill for "such sums as may be necessary"

+ There is even one example of where "any sums" needed for implementation are okay - that is for the new agricultural worker program (Section 2215)

If you want to look at the full text of the Hoeven-Corker border security amendment, it can be found here.