simple test for get type