Use more specific assertions about expected exceptions. Also use stricter...

Use more specific assertions about expected exceptions. Also use stricter arrange-act-assert patterns in some places.
1 job for use-more-specific-assert-throws-checks in 11 minutes and 53 seconds (queued for 1 second)