Fixing MarkovTest to remove off by one error in generate(max) and error caused by bad test data in shouldReadCommonlyFollowedByFromTextAsLastWhenTied