Better to use `assertDatasetEqual` since it gives more helpful error messages when something is wrong.