added a better test that ensures we add files and have no untracked files remaining
perform a git stash before committing just in case there's any old cruft in the local checkout. Also only stash if we've done a commit before
added more complete test case