improve test output in failure case
suppress C compiler warning on power operation on unsigned C int types