Restructuring for integration test for nodechecker.