test for block