Adds test for equivalence between `from_global_dim_data` and `from_dim_data`