Add tests for blocks.