Added filter unit tests