selftest: Convert filter-subunit to Python so the subunit Python module