Update tests with isinstance and non-evenly-dividing tests.