adding testcases for the server