diff --git a/Testing/Code/UtilitiesAdapters/OGRAdapters/otbOGRDataSourceWrapperNew.cxx b/Testing/Code/UtilitiesAdapters/OGRAdapters/otbOGRDataSourceWrapperNew.cxx
index 9a5d183cf249c167af35c8e4633938739eba9a33..8723b19881ee0f06edea4c6e72261f427e7790fb 100644
--- a/Testing/Code/UtilitiesAdapters/OGRAdapters/otbOGRDataSourceWrapperNew.cxx
+++ b/Testing/Code/UtilitiesAdapters/OGRAdapters/otbOGRDataSourceWrapperNew.cxx
@@ -23,6 +23,7 @@
 #define BOOST_TEST_DYN_LINK
 #include <boost/test/unit_test.hpp>
 #include <boost/foreach.hpp>
+#include <boost/algorithm/string.hpp>
 #include "itksys/SystemTools.hxx"
 #include "otbOGRDataSourceWrapper.h"
 
@@ -389,7 +390,7 @@ BOOST_AUTO_TEST_CASE(OGRDataSource_sqlite_overwrite)
   std::string filename = workingdir + "/" + k_name + ".sqlite";
   filename = itksys::SystemTools::ConvertToOutputPath(filename.c_str());
 
-  const std::string layer1 = k_name;
+  const std::string layer1 = boost::algorithm::to_lower_copy(k_name);
 
   // Cannot create read data source if file does not exists
   BOOST_CHECK_THROW(ogr::DataSource::New(filename, ogr::DataSource::Modes::Read),