Update blockmodes to make use of block_size() method.
Add in some real tests.