modify hmmTest so corpus can be rebuilt