Made Asserts into AsserThrows where needed.