updated testing config to work with localhost