more test cases for abbreviateMiddle