tests: More cleanup of operators before test exit