readding server unit tests