Fixed a bug where the reported probability of a word transition was overflowing (changed from byte to char). Also split unit tests into the two different modules, as the 'pom' package doesn't seem to care about running unit tests.