add paralle-flag as parameter of test()