#JC-1533 Branch Edit Permission dialog: fixed unit tests