Adding tests for GetBlocks