fix RunLocal unit tests