You should test "None" cases as well, for example: `imaginary**integer`.  And, please test expressions with rational exponents.