Force number of parallel tests to 1

By now we can not support parallel tests. To avoid issues while building the version, we force number of running test JVMs to 1.
(cherry picked from commit 4df7d2c)