test getType