add HeadDecode test