fixed tests to go localhost