Fix integration tests when XML configuration is used