Improve FilterTestDriver API

@sonots please check.