tests: Removed unittest.TestCase inheritance
tests: Use pytest fixtures where possible