Added test for commit / optimize using the commands.  Imported the said related package.