added localhost http and socket servers to the tests