Test commiting the file only.