fix test
fix fail-occur: revert 70d91028bcd2
fix test: revert 37ecc1dd3c
use destructuring instead of separate let to unpack
add test