Rename test methods to test_* to allow collection by pytest
Summary: Part of T1261
Test Plan:
visual inspection of diffs of the test outputs before and after
applying the patch
Reviewers: Reviewers
Differential Revision: https://forge.softwareheritage.org/D529