rewritten OverridePreserveTestCase

OverridePreserveTestCase - added new test testOverrideModules

removed unnecessary methods
first version of NativeApiPatchingTestCase

don't use deleteOnExit