diff --git a/test/testing_scripts/creat_test.cpp b/test/testing_scripts/creat_test.cpp
index b2c237d286b0793a8d91587a211155ed36c2c922..a0106ba5d4034e3422f556ff045ac6f54f199e2b 100644
--- a/test/testing_scripts/creat_test.cpp
+++ b/test/testing_scripts/creat_test.cpp
@@ -30,7 +30,7 @@ int main(int argc, char *argv[]) {
   auto filepath = path + filename;
   unsigned int length = atoi(argv[3]);
 
-  srand(506);
+  srand(666);
 
   char *data = (char *)malloc((length) * sizeof(char));
   if (data == NULL) {
@@ -58,10 +58,10 @@ int main(int argc, char *argv[]) {
     if (write_rc != length) {
       std::cout << "write() call returned wrong value rc=" << std::to_string(write_rc) << std::endl;
     } else {
-//      if (fsync(fd) != 0) {
-//        std::cout << "write's fsync() failed errno=" << std::to_string(errno) << std::endl;
-//      }
-//      close(fd);
+      if (fsync(fd) != 0) {
+        std::cout << "write's fsync() failed errno=" << std::to_string(errno) << std::endl;
+      }
+      close(fd);
       std::cout << "sys open / write ran without failure" << std::endl;
     }
   }
@@ -79,10 +79,10 @@ int main(int argc, char *argv[]) {
       std::cout << "fwrite() call returned wrong value rc=" << std::to_string(fwrite_rc)
                 << std::endl;
     } else {
-//      if (fflush(stream_file) != 0) {
-//        std::cout << "fwrite's fflush() failed with errno=" << std::to_string(errno) << std::endl;
-//      }
-//      fclose(stream_file);
+      if (fflush(stream_file) != 0) {
+        std::cout << "fwrite's fflush() failed with errno=" << std::to_string(errno) << std::endl;
+      }
+      fclose(stream_file);
       std::cout << "fopen / fwrite ran without failure" << std::endl;
     }
   }