Converted the rest of the tests to pytest

- unittest is now completely gone, except for in
  test_ast_conversion, which I will fix in my next PR