Restructure pytest suite
This MR restructures the pytest suite as follows:
- don't create files in the current working directory, use temporary files via fixtures, and use
pathlib
to get easy absolute paths - use parametrize to create unique tests for each read data type, makes it easier to see which one fails