Add exception consistency tests for transactional behaviors.
Merge remote-tracking branch 'origin/master'