fixes unittest. and others.

Signed-off-by: TAKAHASHI Minoru <takahashi.minoru7@gmail.com>