smaz_tests: add dictionary validity tests