Raise error in stddev is None
Add tests for new datasets functions