Shape index number is useful even for PPT 2010 or later.
Add test and code clean up.