Update test.js

Some improvements on frequency distribution. Now we have separated classes for tokens, syllables and chars.