Add test for instanceof bug.