add samples to check server library