Added TestCheckDirForGo