Fix compile error

Signed-off-by: Kohei Takahashi <flast@flast.jp>
Fix test error

Signed-off-by: Kohei Takahashi <flast@flast.jp>