Changed unit test sample code.

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