Added VM arguments to avoid OutOfMemoryError. Test still needing a little work