refactor bandwidth test, refactor the interface of bandwidth server object.