Eliminated some writes to disk during tests.