Unit test for IBF.