Added portTester, added setImmediate