tests for pow