Fixed parallelization test bug.
Fixed parallelization test bug.
Fixed test and graphite bugs.