registration-extra-fields: Fix pylint/pep8 violations in test file