tests/test_files.py: Make use of common helper in `tests/fixtures.py` for creating repository database fixtures.