finish developing server and add one testcase