KIJIMR-141. Improve tests robustness.

Do not rely on local environment.