testcase for set