NXROADMAP-135: remove System.gc() in test cases