Add test case for testing removal of element from the middle of the
list.