Add an unit test for GetBlockValue()