This adds a series of unit tests that cover the recently introduced support for integer variable detection as well as the corresponding simplification rule.