This would be a great place to use `ddt` (https://github.com/txels/ddt)