Added more test cases for pow