Added a unittest for the InputFile filtering.