So we should probably be testing IE6, IE7, IE7 emulated under IE8, IE8, all of the other ones emulated in IE9 and IE9.
Ouch!
If I remember correctly you can force IE8 to render "on edge", basically avoiding the compatibility mode. I'm guessing you can do the same thing for IE9, dropping all these tests to just one for each browser.