Improvement to IntPower rule.
Refactor unit tests.