Add test for nd.fields with var_dim and fixed_dim dimensions