fix commit
add test for wrongleader for commit