Added test cases from pow()