test for blocks