test commit a file