tests for dispersion functions added
tests for dispersion functions passed