If I'm taking a test at home, there's no way of stopping me from taking it at my desk with the two computers (the Linux box, and the dual-boot Mac Mini for OSX and XP), and nothing you do to lock one computer down will matter.
Lots of people have access to more than one computer, either temporarily or permanently. If I didn't have the two computers, I could use my laptop and desktop together. Or my iPhone. Alternately, I could be on the phone with somebody who either knows the subject or who will search the web for me.
Bear in mind that any technological lockdown would have to be seen as fair. One hint of unfairness (such as requiring focus to stay on the test window when an unrelated popup comes) and the students will be even more motivated to bypass your controls.
What you need to do is have some facility where the students will go to in order to take tests. They can proctor and try to make sure there's no use of computers for outside references (although an iPhone is not difficult to conceal). Alternately, you can not have anything major riding on the test. Or design the test to be open-resource.
There's nothing else you can do.