fix test registerBodyFormater bug