CLN: Refactor tests and delete duplicates
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them


Deleted a few duplicates and parametrized 
thanks @phofl 