test commit to a branch