testcases for componentOrderIndex