added tests for parallelism