Add unit test of utils module.

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