Added a lot of test cases, such as Power and rank