Add System.gc() before starting test.