Feature/ie tests fix

All tests now pass in IE8 and IE9. Number of failing tests in IE7 reduced from 17 to 4.