tests: Convert extension tests to pytest syntax
tests: Convert backend tests to pytest syntax