diff --git a/components/certificate-mgt/org.wso2.carbon.certificate.mgt.core/src/test/resources/carbon-home/repository/conf/carbon.xml b/components/certificate-mgt/org.wso2.carbon.certificate.mgt.core/src/test/resources/carbon-home/repository/conf/carbon.xml
deleted file mode 100644
index ca5863d18d..0000000000
--- a/components/certificate-mgt/org.wso2.carbon.certificate.mgt.core/src/test/resources/carbon-home/repository/conf/carbon.xml
+++ /dev/null
@@ -1,656 +0,0 @@
-
-
-
-
-
-
-
-
- ${product.name}
-
-
- ${product.key}
-
-
- ${product.version}
-
-
-
-
-
-
-
-
- local:/${carbon.context}/services/
-
-
-
-
-
-
- ${default.server.role}
-
-
-
-
-
-
- org.wso2.carbon
-
-
- /
-
-
-
-
-
-
-
-
- 15
-
-
-
-
-
-
-
-
- 0
-
-
-
-
- 9999
-
- 11111
-
-
-
-
-
- 10389
-
- 8000
-
-
-
-
-
- 10500
-
-
-
-
-
-
- org.wso2.carbon.tomcat.jndi.CarbonJavaURLContextFactory
-
-
-
-
-
-
-
-
- java
-
-
-
-
-
-
-
-
-
- false
-
-
- false
-
-
- 600
-
-
-
- false
-
-
-
-
-
-
-
- 30
-
-
-
-
-
-
-
-
- 15
-
-
-
-
-
- ${carbon.home}/repository/deployment/server/
-
-
- 15
-
-
- ${carbon.home}/repository/conf/axis2/axis2.xml
-
-
- 30000
-
-
- ${carbon.home}/repository/deployment/client/
-
- ${carbon.home}/repository/conf/axis2/axis2_client.xml
-
- true
-
-
-
-
-
-
-
-
-
- admin
- Default Administrator Role
-
-
- user
- Default User Role
-
-
-
-
-
-
-
-
-
-
-
- ${carbon.home}/repository/resources/security/wso2carbon.jks
-
- JKS
-
- wso2carbon
-
- wso2carbon
-
- wso2carbon
-
-
-
-
-
- ${carbon.home}/repository/resources/security/client-truststore.jks
-
- JKS
-
- wso2carbon
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- UserManager
-
-
- false
-
-
-
-
-
-
- ${carbon.home}/tmp/work
-
-
-
-
-
- true
-
-
- 10
-
-
- 30
-
-
-
-
-
- 100
-
-
-
- keystore
- certificate
- *
-
- org.wso2.carbon.ui.transports.fileupload.AnyFileUploadExecutor
-
-
-
-
- jarZip
-
- org.wso2.carbon.ui.transports.fileupload.JarZipUploadExecutor
-
-
-
- dbs
-
- org.wso2.carbon.ui.transports.fileupload.DBSFileUploadExecutor
-
-
-
- tools
-
- org.wso2.carbon.ui.transports.fileupload.ToolsFileUploadExecutor
-
-
-
- toolsAny
-
- org.wso2.carbon.ui.transports.fileupload.ToolsAnyFileUploadExecutor
-
-
-
-
-
-
- - info
- org.wso2.carbon.core.transports.util.InfoProcessor
-
-
- - wsdl
- org.wso2.carbon.core.transports.util.Wsdl11Processor
-
-
- - wsdl2
- org.wso2.carbon.core.transports.util.Wsdl20Processor
-
-
- - xsd
- org.wso2.carbon.core.transports.util.XsdProcessor
-
-
-
-
-
- false
- false
- true
- svn
- http://svnrepo.example.com/repos/
- username
- password
- true
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ${require.carbon.servlet}
-
-
-
-
- true
-
-
-
-
-
-
- default repository
- ${p2.repo.url}
-
-
-
-
-
-
-
- true
-
-
-
-
-
- true
-
-
diff --git a/components/certificate-mgt/org.wso2.carbon.certificate.mgt.core/src/test/resources/carbon-home/repository/conf/cdm-config.xml b/components/certificate-mgt/org.wso2.carbon.certificate.mgt.core/src/test/resources/carbon-home/repository/conf/cdm-config.xml
index a4f2358d9f..bc996646e1 100644
--- a/components/certificate-mgt/org.wso2.carbon.certificate.mgt.core/src/test/resources/carbon-home/repository/conf/cdm-config.xml
+++ b/components/certificate-mgt/org.wso2.carbon.certificate.mgt.core/src/test/resources/carbon-home/repository/conf/cdm-config.xml
@@ -1,6 +1,6 @@
diff --git a/components/certificate-mgt/org.wso2.carbon.certificate.mgt.core/src/test/resources/carbon-home/repository/conf/datasources/master-datasources.xml b/components/certificate-mgt/org.wso2.carbon.certificate.mgt.core/src/test/resources/carbon-home/repository/conf/datasources/master-datasources.xml
index 897e33581c..40b7e24343 100644
--- a/components/certificate-mgt/org.wso2.carbon.certificate.mgt.core/src/test/resources/carbon-home/repository/conf/datasources/master-datasources.xml
+++ b/components/certificate-mgt/org.wso2.carbon.certificate.mgt.core/src/test/resources/carbon-home/repository/conf/datasources/master-datasources.xml
@@ -1,3 +1,20 @@
+
diff --git a/components/certificate-mgt/org.wso2.carbon.certificate.mgt.core/src/test/resources/carbon-home/repository/conf/log4j.properties b/components/certificate-mgt/org.wso2.carbon.certificate.mgt.core/src/test/resources/carbon-home/repository/conf/log4j.properties
index 9cff0ddf72..d1014499f9 100644
--- a/components/certificate-mgt/org.wso2.carbon.certificate.mgt.core/src/test/resources/carbon-home/repository/conf/log4j.properties
+++ b/components/certificate-mgt/org.wso2.carbon.certificate.mgt.core/src/test/resources/carbon-home/repository/conf/log4j.properties
@@ -1,5 +1,5 @@
#
-# Copyright 2009 WSO2, Inc. (http://wso2.com)
+# Copyright 2017 WSO2, Inc. (http://wso2.com)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff --git a/components/certificate-mgt/org.wso2.carbon.certificate.mgt.core/src/test/resources/carbon-home/repository/conf/security/authenticators.xml b/components/certificate-mgt/org.wso2.carbon.certificate.mgt.core/src/test/resources/carbon-home/repository/conf/security/authenticators.xml
deleted file mode 100644
index d31486f99e..0000000000
--- a/components/certificate-mgt/org.wso2.carbon.certificate.mgt.core/src/test/resources/carbon-home/repository/conf/security/authenticators.xml
+++ /dev/null
@@ -1,73 +0,0 @@
-
-
-
-
-
-
-
-
-
- 5
-
-
-
-
- 10
-
- /carbon/admin/login.jsp
- carbonServer
- https://localhost:9443/samlsso
- urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/components/certificate-mgt/org.wso2.carbon.certificate.mgt.core/src/test/resources/certificate-config.xml b/components/certificate-mgt/org.wso2.carbon.certificate.mgt.core/src/test/resources/certificate-config.xml
index cfd4938b68..0e996abca5 100755
--- a/components/certificate-mgt/org.wso2.carbon.certificate.mgt.core/src/test/resources/certificate-config.xml
+++ b/components/certificate-mgt/org.wso2.carbon.certificate.mgt.core/src/test/resources/certificate-config.xml
@@ -1,4 +1,21 @@
+
diff --git a/components/certificate-mgt/org.wso2.carbon.certificate.mgt.core/src/test/resources/log4j.properties b/components/certificate-mgt/org.wso2.carbon.certificate.mgt.core/src/test/resources/log4j.properties
deleted file mode 100644
index 2143753b40..0000000000
--- a/components/certificate-mgt/org.wso2.carbon.certificate.mgt.core/src/test/resources/log4j.properties
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# Copyright 2015 WSO2, Inc. (http://wso2.com)
-#
-# WSO2 Inc. licenses this file to you under the Apache License,
-# version 2.0 (the "License"); you may not use this file except
-# in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-#
-# This is the log4j configuration file used by WSO2 Carbon
-#
-# IMPORTANT : Please do not remove or change the names of any
-# of the Appenders defined here. The layout pattern & log file
-# can be changed using the WSO2 Carbon Management Console, and those
-# settings will override the settings in this file.
-#
-
-log4j.rootLogger=INFO, STD_OUT
-
-# Redirect log messages to console
-log4j.appender.STD_OUT=org.apache.log4j.ConsoleAppender
-log4j.appender.STD_OUT.Target=System.out
-log4j.appender.STD_OUT.layout=org.apache.log4j.PatternLayout
-log4j.appender.STD_OUT.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n
diff --git a/components/certificate-mgt/org.wso2.carbon.certificate.mgt.core/src/test/resources/testng.xml b/components/certificate-mgt/org.wso2.carbon.certificate.mgt.core/src/test/resources/testng.xml
index aafb64008d..b76295f108 100644
--- a/components/certificate-mgt/org.wso2.carbon.certificate.mgt.core/src/test/resources/testng.xml
+++ b/components/certificate-mgt/org.wso2.carbon.certificate.mgt.core/src/test/resources/testng.xml
@@ -1,5 +1,21 @@
-
+