fixed request test error, add setServer method for request widget