fix unit test and run in processIsolation mode