Add exceptions to test for overflowing addition and multiplication