Add util number encoding tests.
Fix the message sign & verify test.