test FilterTypeGuesser

I only tested the part that I modified, the coverage is not 100%
Merge pull request #282 from greg0ire/add_unit_tests

test FilterTypeGuesser