ENH: Added a test for the ExtractSkeleton CLI

This is a pull request I have been discussing with Steve Pieper.