I think this test and the one below should also check for near-correct powers (i.e., <1e-14).