MAHOUT-1610 Update tests to pass in Java 8; closes apache/mahout#46