Add tests for LocalWorkerProcess