fix tests on python 3
src filter