updated all test error messages checks to match new syntax for IsInstanceOf<> error messages