Added tests for block-based selection.