Added test code to test functionality of list_front_back_split API.