Create unit test for overflow exception checking Brought up by #1806 that we don't have a unit test that is testing our overflow exception handling. While I tested this locally, we don't have it in CI. Create a test for this.