using localhost in test files