Removed extra file creation from TestCheckDirForGo