Refactor local operator tests
Created by: PhilipVinc
Coming soon: A rewrite of the front-end of LocalOperator to speed it up and to make it more amenable to being jax-aware.
However, I need to slightly refactor tests... so here it is. Doing it before hand