Add tests for #3
Merge pull request #5 from bergie/blocks

Add tests for #3