added fib filter and some basic unit tests