tests for block