Tests for master process