add getType
adjust test