Added tests for the input filter.