tests for block mode