Adding -testMode parameter, testing threads