added server tests for multiple clients and handled boundary cases |chethan - raghavendra