add unittest for bloomfilter