test if can commit not staged files