more missing getdcwd fixes in tests