Testing Client Server Code using unittest