Fix python 3.11 tests failing due to memory/timeout issues
Currently the python 3.11
tests consistently fail due to the process being killed. This is likely due to using too much memory in the tests, and likely not a simple time out since we have set that to 1 hr and there are examples of other tests running for much longer (even hours).