Add filter type check test. #17