call Serve from the http.Server in nserv.Serve
add a small test
fix minor struct issue