Tests take alot of memory

Tests currently require a large amount of memory.