Add some tests from PR 166463.  Also make sure that all of the tests, old and new, check the sign bits of both the remainder and the quotient.
Add some tests from PR 166463.  Also make sure that all of the tests,
old and new, check the sign bits of both the remainder and the
quotient.

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase