Added test code for powers_precomp.