test commit by command