Fix config file split

Now test uses the test config and tomcat uses the real config