add test for rational
add power for exponentiation