defaul server test and set when not provided