Add test case of validate public key

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>
docstring of utils.py

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>