Add implementatin of TestFSMainOperationsSwift and fix a bug (no resolution of relative addresses in setWorkingDirectory())