Added function and test for getting block data by ID.
Easier to see structure of how tests relate.