unit test about type, property