Why are you catching OutOfMemoryError just letting the test suite fail? I don't think the test runner will easily recover from this. Maybe use a println or something.