Improve FilterTestDriver API

@sonots please check.
Ouch!