Ya we can't have tests that cause an OOM for that reason. Testing to ensure a particular memory usage is difficult - it's okay to just test for correctness here.