ParallelTest Code modified