Refactor test code using @pytest.mark.parametrize
This is mainly to demonstrate how test code can be improved using @pytest.mark.parametrize, please use this pattern where applicable. Note that the combination of fixtures and @pytest.mark.parametrize is tricky, but possible (see test_read_toms_data
)