def METHOD_NAME(block_size, value):
    target = read_and_build(block_size, value)
    # compare values
    if isinstance(value, np.ndarray):
        # FIXME why `assert_array_equal` are so slow ...
        #
        # np.testing.assert_array_equal(target, value)
        #
        assert (target == value).all()
    elif isinstance(value, pd.DataFrame):
        pd.testing.assert_frame_equal(target, value)
    elif isinstance(value, pd.Index):
        pd.testing.assert_index_equal(target, value)
    elif isinstance(value, pd.Series):
        pd.testing.assert_series_equal(target, value)
    else:
        assert target == value