updated block and blocktest