Fix test fail when divider is 0.
Close #18.
Fix test that does not consider parallelism.
Leverages helper in test code.
Optimize test.