testing server class