added the ability to toggle 2i for scan tests.

This will need a little bit of tweaking.