tests for distribution.