Test script for block_dedup