fixing OfType tests