Modified removeNextLargerSuccessor() and added two test code