Added simple Python filter hook and updated test filter.