parse tag type test