Update RootDirectory in tests