Refactor tests to use parametrize, add `pytest.fixture`
Refactor tests to use parametrize, add
pytest.fixture