Added a test case to moveNodeAtIndex()