type confusion test