testcase for setComponentOrderIndex method