Please add a test for `dimension=[]`:
`self.assertDatasetEqual(data.mean(dimension=[]), data)`