Remove ListenAndServe from unit tests