Added testing functionality. Parallelized problem data setup process.