Add test to ensure branch is merged correctly.
Prevent merging when the target branch is different from origin.

This prevents local commits on the target branch from being pushed
together.
Merge branch 'htanata-verify_source_branch_pristine'