add df filter to test.java

beter event structure than traditonal tf-idf methods