add 'setupTest()' method

load network and event log in a slave thread