Revert "Update InputFilterTest.php"

This reverts commit d40f8d749e411781ddc615349259d7e38001fbb4.
Revert "Update InputFilter.php"

This reverts commit af6681dbe38feaf80f72e65af6d0f11b939a692a.