Added server unit tests