Add tests for the dict form of `from_distarray`.
Rename a test.