Add server operation unittest