diff --git a/sflphone-common/test/Makefile.am b/sflphone-common/test/Makefile.am
index 41ab80fea2453830f84bd5d492b22f7165d03d5a..9da8e2f60349f9304800235277ac1158142b6d92 100644
--- a/sflphone-common/test/Makefile.am
+++ b/sflphone-common/test/Makefile.am
@@ -26,9 +26,7 @@ test_SOURCES = \
 	rtptest.h \
 	rtptest.cpp \
 	sdesnegotiatortest.h \
-	sdesnegotiatortest.cpp \
-	ringtonetest.h \
-	ringtonetest.cpp
+	sdesnegotiatortest.cpp
 
 LLIBS=$(CPPUNIT_LIBS) \
 	../src/sflphoned-logger.o \
diff --git a/sflphone-common/test/constants.h b/sflphone-common/test/constants.h
index 5b3d0884f4c042d3b91b90325bab1f6d5aefb6aa..15bcd858601f5ff875c88ad956f8f234dc801cde 100644
--- a/sflphone-common/test/constants.h
+++ b/sflphone-common/test/constants.h
@@ -35,7 +35,7 @@
 #define NO_STR "0"
 #define HISTORY_SAMPLE  "history-sample"
 #define HISTORY_SAMPLE_SIZE     3
-#define CONFIG_SAMPLE   "sflphonedrc-sample"
+#define CONFIG_SAMPLE   "sflphoned-sample.yml"
 #define HUGE_HISTORY_LIMIT      20000
 
 #endif /* CONSTANTS_H_ */
diff --git a/sflphone-common/test/main.cpp b/sflphone-common/test/main.cpp
index 0823891c597351b8208f094ddc0247c75e0550ee..1ce3b6b4e7b7d5ec7635a086ceaa0ca7261d9eec 100644
--- a/sflphone-common/test/main.cpp
+++ b/sflphone-common/test/main.cpp
@@ -30,8 +30,7 @@
 
 #include <logger.h>
 #include <manager.h>
-
-#define CONFIG_SAMPLE   "sflphonedrc-sample"
+#include <constants.h>
 
 #include <cppunit/CompilerOutputter.h>
 #include <cppunit/extensions/TestFactoryRegistry.h>