method for setting server context in interation tests