updated tests to work on localhost"