Testing Weka API