test instanceof.