added to testPow in QuantityTester.java