added unit test of OServer