[test] Add a test for nix.core.DataArray.label