Added more thorough tests of the It command

Or more specifically, the ItImpl command that does all of the work now.

May think of other ways to test this later, but it's already a vast improvement over what we had before.  (Some of the older tests may be obsolete now, will review those later.)