Unit tests for frequencies, percentages