Weka tests

mirrored from http://weka.wikispaces.com/Use+WEKA+in+your+Java+code